package com.example.wanghao.wangyixinwen.home;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

/**
 * Created by wanghao on 2016/5/18.
 */
public class FunctionPage extends BasePage{
   // private  Context mContext;//上下文

    public FunctionPage(Context context) {
 //       this.mContext = context;
        super(context);
    }

    @Override
    public View initView() {
        TextView tv = new TextView(mContext);
        tv.setText("首页");

        return tv;
    }

    @Override
    public void initData() {

    }


    /*public View view;

    public FunctionPage(){
        //在首页被创建的时候,就要创建view对象用来展示界面
        view = initView();
    }

    public View getRootView(){
    }

    private View initView() {
    }*/

}
